package com.kingdee.eas.qx;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class BaseDataMappingFactory
{
    private BaseDataMappingFactory()
    {
    }
    public static com.kingdee.eas.qx.IBaseDataMapping getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.qx.IBaseDataMapping)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("46B5DB84") ,com.kingdee.eas.qx.IBaseDataMapping.class);
    }
    
    public static com.kingdee.eas.qx.IBaseDataMapping getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.qx.IBaseDataMapping)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("46B5DB84") ,com.kingdee.eas.qx.IBaseDataMapping.class, objectCtx);
    }
    public static com.kingdee.eas.qx.IBaseDataMapping getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.qx.IBaseDataMapping)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("46B5DB84"));
    }
    public static com.kingdee.eas.qx.IBaseDataMapping getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.qx.IBaseDataMapping)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("46B5DB84"));
    }
}